home *** CD-ROM | disk | FTP | other *** search
-
-
- > > Well, it is not realistic at all...
- >
- > Who cares if it's 100% realistic or not as long as it looks
- > and feels ok? We are talking about a game, and not a complex
- > car crash simulator.
- > Personally, I think the idea of just transferring some of the other cars
- > velocity (vector) to the other car might give good results as
- > a rough approximation. This simple approach has also the advantage
- > that you can add only a certain percentage of what you've taken
- > away from the other car to simulate some of the kinetic energy
- > losses.
-
- Well, it asked for realistic routines if i am not wrong...
- And doing a percentage appoximation will cause troubles as there are many
- ways the two car can collise that some collision case would be too
- innatural to be true.
-
- > > If you have patience i will go home and look on my books...
- > >
- > > Sure there is an equation (or two) which can describe every collision you
- > > want...
- > > If I remember right it was quite long... but not very complex.
- >
- > Realistic inelastic collision handling would be bejond good and evil.
- > Even the formula for the elastic collision are long.
-
- You're right, but the final solution is very simple!
-
- > > I think you want elastic collision, that are collisions were total energy
- > > is conserved. They are more simple... note that the previous description
- > > of loss of energy was completely false.
- > > There is not energy loss during collision but the heat produced by the hit.
- > >
- >
- > I think 100% elastic collision will look bad in a car racing game. The
- > "bouncing" effect would be much too strong.
-
- If you want you can add friction to the cars.
-
- > The formula can be optained with equations for kinetic energy and
- > impulse (sp?) conservation. Transformation in the center of mass
- > makes it easier to solve these equations. The result can be found in
- > any physics book, I guess.
-
- You're right.
-
- > BTW, the description about the energy loss given by the original
- > poster wasn't that wrong. You will notice that in real car crashs
- > MOST of the kinetic energy is lost through the irreversible deformation
- > of the cars!
-
- Yes... but do you know how much energy is involved in a car collision?
- What percentage of the energy do you think will be dissipated by heat and
- plastic deformations?
-
- M&F
-
- P.S. Formulae coming soon!!!
-
-
-